﻿/* General Styles
-----------------------------------------------------*/
* { margin: 0px; padding: 0px; }
body { background-color: #e6e6e6; font-size: .85em; color: #333; font-family: Tahoma; clear: both; margin: 0; padding: 0; border-top-color: #3b7cb4; border-top-width: 12px; border-top-style: solid; }
header, footer, hgroup, nav, section { display: block; }

h1 { font-size: 2.3em; color: #3b7cb4; font-family: Tahoma; font-weight: normal; }
h2 { font-size: 1.3em; color: #3b7cb4; font-family: Tahoma; font-weight: normal; }

img { max-width: 860px; }

.dash { border-bottom-color: #e6e6e6; border-bottom-width: 1px; border-bottom-style: solid; }

ul li { list-style: none; margin: 5px 0; color: #333; }

.right { float: right; }
.left { float: left; }
.top-right { float: right; margin-top: 0; }
.top { position:absolute; top:0;}
.inline { display:inline;}

.field-validation-error { color: Red; font-size: .85em; }

/* fonts
------------------------------------------------------*/
.small-font { font-size: .85em; color: #333; }
.mid-font { font-size: 1em; color: #333; }
.larger-font { font-size: 1.2em; color: #333; }


/* href
------------------------------------------------------*/
a.title, a.title:visited { text-decoration: none; outline: none; }
a.title:hover { color: #61a9c6; }
a.title { color: #3b7cb4; }

a.article-title, a.article-title:visited, a.comments-container, a.comments-container:visited { text-decoration: none; outline: none; }
a.article-title:hover { color: #61a9c6; }
a.comments-container, a.detail-container { color: #3b7cb4;}
a.comments-container:hover, a.detail-container:hover { color: #61a9c6; opacity: .85; }


/*Wrappers
--------------------------------------------------------*/
.shadow-wrapper { margin: 20px auto 10px; max-width: 960px; background-color: #fff; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3); position:relative; }
.wrapper { display: block; margin: 20px 40px; padding-bottom: 20px; }
.wrapper-10 { display: block; margin: 10px; padding-bottom: 10px; padding-top: 10px; }
.wrapper-20 { display: block; margin: 20px; }
.h-padding-10 { display: block; padding-left: auto; padding-right: 10px; }
.b-margin-30 {  display: block; margin-bottom: 30px; }


/*Header
---------------------------------------------------------*/
header h1 { margin: 0px 80px; padding: 20px 10px 10px 10px; }
header h2 { margin: 0px 30px; padding: 0px 10px; }
h1 a:hover { color: #61a9c6; opacity: .85; }
h1 a:visited { color: #3b7cb4; }
header { border-bottom-color: #e6e6e6; border-bottom-width: 5px; border-bottom-style: double; padding: 10px 0; }
div#domain-sub { font-size:.45em; color:#fff; background-color:#3b7cb4; position:absolute; top:30px; margin-left:5px; padding:2px; display:inline; border-radius: 5px; }

/*Article 
---------------------------------------------------------*/
.table { display: table; width: 100%; vertical-align: baseline; clear: both; }
article { margin-top:10px; }
.article-title { font-family: Tahoma; color: #3b7cb4; font-size: 1.3em; padding-top: 20px; }
.article-content { font-family: Tahoma; font-size: .95em; margin: 10px auto; border-top: 1px solid #e6e6e6; padding-top: 10px; padding-bottom: 20px; }

.comments-container, .detail-container { float: right; font-size: .85em; padding: 10px; color: #333; }
.comments-container a{ color: #3b7cb4; font-size:.85em; padding-top:10px; padding-bottom:5px; }
.comment-title { color: #3b7cb4; font-size:.85em; padding-top:10px; padding-bottom:5px; border-bottom:1px solid lightblue;  }
.create-comment { margin:20px 0;}

/*Aside
----------------------------------------------------------*/
aside { margin: 10px 0; border-left-style: dotted; border-left-color: #e6e6e6; border-left-width: 1px; }
div.aside-widget { padding: 5px; display: block; }
h3.widget-title { font-family: Tahoma; font-size: 1em; font-weight: normal; border-left: 2px solid #f7866a; padding: 10px; background-color: #e6e6e6; }
.widget-content { margin: 10px; }

@media all and (min-width: 660px) {
    article { float: left; width: 65%;  }
    aside { float: right; width:30%; }
}
@media all and (max-width:660px){
    article, aside { display: block; width:100%;}
}



/*Footer
----------------------------------------------------------*/
footer { margin: 0 auto; max-width: 960px; text-align: center; padding-bottom: 50px; }


/* login page
----------------------------------------------------------*/
#loginForm { display: block; padding: 10px 50px; }
#loginForm .validation-error { display: block; margin-left: 15px; }
#loginForm .validation-summary-errors ul { margin: 0; padding: 0; }
#loginForm .validation-summary-errors li { display: inline; list-style: none; margin: 0; }
#loginForm input { width: 250px; }
#loginForm input[type="checkbox"], #loginForm input[type="submit"], #loginForm input[type="button"], #loginForm button { width: auto; }
#logoutForm { display: inline; }

/* forms 
-----------------------------------------------------------*/
fieldset { border: none; margin: 0; padding: 0; }
fieldset legend { display: none; }
fieldset ol { padding: 0; list-style: none; }
fieldset ol li { padding-bottom: 5px; }
label { display: block; font-size: 1em; font-weight: normal; font-family: Tahoma; }
label.checkbox { display: inline; }
input, textarea { border: 1px solid #e2e2e2; background: #fff; color: #333; font-size: 1em; margin: 5px 0 6px 0; padding: 5px; width: 300px; }
textarea { font-family: inherit; width: 500px; }
input:focus, textarea:focus { border: 1px solid #7ac0da; }
input[type="checkbox"] { background: transparent; border: inherit; width: auto; }
input[type="submit"], input[type="button"], button { background-color: #e6e6e6; cursor: pointer; font-size: 1em; font-weight: normal; font-family: Tahoma; margin-right: 8px; width: auto; }

td input[type="submit"], td input[type="button"], td button { font-size: 1em; margin-right: 4px; }


/* admin page
------------------------------------------------------------*/
.admin-link-wrapper { display: block; padding: 0; margin: 30px 0; }
a.button { text-decoration: none; outline: none; background: #f0f1f4; color: #333; padding: 5px 10px; display: inline; }
.toggle-pic { border-bottom: 2px solid #e7c525; }
.toggle-atc { border-bottom: 2px solid #8dbf35; }
.toggle-usr { border-bottom: 2px solid #f7866a; }
.pic-menu { display: inline; float: right; }


/* paging
-------------------------------------------------------------*/
.pager-container { display: block; margin: 0 auto; text-align: center; font-size: .9em; padding:10px 10px 20px 10px; }
.pager-container > a { border: 1px solid #3b7cb4; margin: 5px; padding: 2px 5px; text-decoration: none; outline: none; color: #3b7cb4; }
.pager-container > a:visited { border: 1px solid #3b7cb4; margin: 5px; padding: 2px 5px; text-decoration: none; outline: none; color: #3b7cb4; }
.pager-container span { color: #3b7cb4; }



/* top-right container
-------------------------------------------------------------*/
.top-right .h-padding-10 > ul { padding: 5px; font-size: .85em; }
.top-right .h-padding-10 > ul li { display: inline; margin: 0 2px; color: #3b7cb4; }
.fb { background-image: url(../Images/fb.png); background-size: auto; background-repeat: no-repeat; display: inline-block; height: 16px; width: 16px; background-position: 0 -35px; text-indent: -99999px; }
.google { background-image: url(../Images/google.png); background-size: auto; background-repeat: no-repeat; display: inline-block; height: 16px; width: 16px; background-position: center; text-indent: -99999px; }
.ms { background-image: url(../Images/ms.png); background-size: auto; background-repeat: no-repeat; display: inline-block; height: 16px; width: 16px; background-position: left; text-indent: -99999px; }
.weibo { background-image: url(../Images/weibo.png); background-size: auto; background-repeat: no-repeat; display: inline-block; height: 16px; width: 16px; background-position: center; text-indent: -99999px; }
.tw { background-image: url(../Images/tw.png); background-size: auto; background-repeat: no-repeat; display: inline-block; height: 16px; width: 16px; background-position: center; text-indent: -99999px; }
.oauth-toolbar ul li { display: inline; cursor: hand; cursor: pointer; margin: 0 2px; }
.oauth-toolbar { margin: 0 10px; padding: 5px 0; display: inline-block; background: #fff; }
.login-toolbar { display: inline; }

.circle { border-radius: 10%; width: 50px; height: 50px; background-color: #3b7cb4; color: #fff; font-size: .5em; margin: 0; padding-bottom: 3px; padding-right: 3px; }

/* post end
-------------------------------------------------------*/
.post-end { border-bottom: 1px solid lightblue; text-align:center; height:21px; margin-bottom:30px;}
.post-end span { margin:0 auto; position: relative; top:10px; background-color:#fff; padding-left:2px; color:lightblue; display:block; width:180px;}
.post-end span i{ background: url(../logo.ico) no-repeat 0 0; background-size: cover; float:left; height:18px; width:20px; padding-top:2px; }

/* logo style
--------------------------------------------------------------*/
.logo { position:relative}
#rect.raindrop { background: lightblue; width: 15px; height: 15px; position: absolute; display: inline; overflow: hidden; border-left: 0px solid transparent; border-radius: 50px; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-top-right-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transition: all 1s; -webkit-transition: all 1s; -moz-transition: all 1s; -o-transition: all 1s; -ms-transition: all 1s; }

.raindrop.sm { width: 15px; height: 15px; position: absolute; border-radius: 18.75px; -webkit-border-radius: 18.75px; -moz-border-radius: 18.75px; border-top-right-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; }

.raindrop.lg { width: 25px; height: 25px; position: absolute; border-radius: 31.25px; -webkit-border-radius: 31.25px; -moz-border-radius: 31.25px; border-top-right-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0; }

#rect.raindrop.green { background: #8dbf35; }
#rect.raindrop.yellow { background: yellow; }
#rect.raindrop.orange { background: orange; }
#rect.raindrop.teal { background: teal; }
#rect.raindrop.pink { background: pink; }
#rect.raindrop.blue { background: #3b7cb4; }
#rect.raindrop.red { background: #f7866a; }
#rect.raindrop.grey { background: #e6e6e6; }
#rect.raindrop.black { background-color:Black; }


#rect.raindrop:nth-child(1) /* yellow */ { transform: rotate(-72deg) skewX(-12deg) skewY(-4deg); -webkit-transform: rotate(-72deg) skewX(-12deg) skewY(-4deg); -moz-transform: rotate(-72deg) skewX(-12deg) skewY(-4deg); -o-transform: rotate(-72deg) skewX(-12deg) skewY(-4deg); -ms-transform: rotate(-72deg) skewX(-12deg) skewY(-4deg); top: 42.25px; left: 57.25px;}
#rect.raindrop:nth-child(2) /* blue */ /* blue */ { transform: rotate(-144deg) skewX(-12deg) skewY(-4deg); -webkit-transform: rotate(-144deg) skewX(-12deg) skewY(-4deg); -moz-transform: rotate(-144deg) skewX(-12deg) skewY(-4deg); -o-transform: rotate(-144deg) skewX(-12deg) skewY(-4deg); -ms-transform: rotate(-144deg) skewX(-12deg) skewY(-4deg); top: 27.25px; left: 64.5px; }
#rect.raindrop:nth-child(3) /* orange */ /* orange */ { transform: rotate(-216deg) skewX(-12deg) skewY(-4deg); -webkit-transform: rotate(-216deg) skewX(-12deg) skewY(-4deg); -moz-transform: rotate(-216deg) skewX(-12deg) skewY(-4deg); -o-transform: rotate(-216deg) skewX(-12deg) skewY(-4deg); -ms-transform: rotate(-216deg) skewX(-12deg) skewY(-4deg); top: 16.5px; left: 52.75px;}
#rect.raindrop:nth-child(4) /* pink */ /* pink */ { transform: rotate(-288deg) skewX(-12deg) skewY(-4deg); -webkit-transform: rotate(-288deg) skewX(-12deg) skewY(-4deg); -moz-transform: rotate(-288deg) skewX(-12deg) skewY(-4deg); -o-transform: rotate(-288deg) skewX(-12deg) skewY(-4deg); -ms-transform: rotate(-288deg) skewX(-12deg) skewY(-4deg); top: 24.5px; left: 38.5px; }
#rect.raindrop:nth-child(5) /* blue */ /* blue */ { transform: rotate(0deg) skewX(-12deg) skewY(-4deg); -webkit-transform: rotate(0deg) skewX(-12deg) skewY(-4deg); -moz-transform: rotate(0deg) skewX(-12deg) skewY(-4deg); -o-transform: rotate(-0deg) skewX(-12deg) skewY(-4deg); -ms-transform: rotate(0deg) skewX(-12deg) skewY(-4deg); top: 40.5px; left: 41px; }

#rect:hover
{
    -webkit-animation-name: rotate; 
    -webkit-animation-duration: 2s; 
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate; 
    -moz-animation-duration: 2s; 
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

